package com.example.treeHole.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class ArticleReply {
    private String id;

    /**
     * 被回复的文章id
     */
    private String articleId;

    private String isReply;

    /**
     * 被回复的回复Id
     */
    private String replyId;

    private String createBy;

    private String createName;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;

    private String lastUpdateBy;

    private String lastUpdateName;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lastUpdateDate;

    private List<ArticleReply> childReply;

    private String replyContent;

    /**
     * 用户名称创建回复的
     */
    private String virtuallyName;

    /**
     * 用户头像创建回复的
     */
    private String virtuallyImage;

    /**
     * 被回复的人的名称
     */
    private String replyName;

    /**
     * 被回复人的Id
     */
    private String repliedID;
    /**
     * is_reply = 3
     * 被回复人的Id
     */
    private String replyIdReply;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId == null ? null : articleId.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName == null ? null : createName.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy == null ? null : lastUpdateBy.trim();
    }

    public String getLastUpdateName() {
        return lastUpdateName;
    }

    public void setLastUpdateName(String lastUpdateName) {
        this.lastUpdateName = lastUpdateName == null ? null : lastUpdateName.trim();
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getIsReply() {
        return isReply;
    }

    public void setIsReply(String isReply) {
        this.isReply = isReply;
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId;
    }

    public List<ArticleReply> getChildReply() {
        return childReply;
    }

    public void setChildReply(List<ArticleReply> childReply) {
        this.childReply = childReply;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public String getVirtuallyImage() {

        return virtuallyImage;
    }

    public void setVirtuallyImage(String virtuallyImage) {
        this.virtuallyImage = virtuallyImage;
    }

    public String getVirtuallyName() {
        return virtuallyName;
    }

    public void setVirtuallyName(String virtuallyName) {
        this.virtuallyName = virtuallyName;
    }

    public String getReplyName() {
        return replyName;
    }

    public void setReplyName(String replyName) {
        this.replyName = replyName;
    }

    public String getRepliedID() {
        return repliedID;
    }

    public void setRepliedID(String repliedID) {
        this.repliedID = repliedID;
    }

    public String getReplyIdReply() {
        return replyIdReply;
    }

    public void setReplyIdReply(String replyIdReply) {
        this.replyIdReply = replyIdReply;
    }
}